package org.example.course.mapper;
import org.apache.ibatis.annotations.Param;

import org.apache.ibatis.annotations.Mapper;
import org.example.course.domain.Graduation;import org.example.course.dto.GraduationModel;import java.util.List;

/**
 * @Classname GraduationMapper
 * @Description 毕业要求
 * @Date 2020/5/8 16:24
 * @Created by
 */
@Mapper
public interface GraduationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Graduation record);

    int insertSelective(Graduation record);

    Graduation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Graduation record);

    int updateByPrimaryKey(Graduation record);

    List<Graduation> findAll(GraduationModel graduationModel);


    Graduation findByPowerAndContent(@Param("power")String power,@Param("content")String content);


}